<template>
  <ul class="footer-wrap part flex">
    <li>
      <ul class="list">
        <li class="item sub_title">Community</li>
        <li class="item description">
          <a target="_blank" href="">Twitter</a>
        </li>
        <li class="item description">
          <a target="_blank" href="">Medium</a>
        </li>
        <li class="item description">
          <a target="_blank" href="">Discord</a>
        </li>
        <li class="item description">
          <a target="_blank" href="">Github</a>
        </li>
      </ul>
    </li>
    <li>
      <ul class="list right">
        <li class="item sub_title">Subscribe</li>
        <li class="description">
          Subscribe to the newsletter to hear about the updates and events.
        </li>
        <li class="subscribe flex">
          <input class="email" type="email" placeholder="Enter Your Email Address" />
          <a class="btn flex colorful oneColorStyle">
            <span class="sub_title uppercase whiteFont"> Send </span>
          </a>
        </li>
      </ul>
    </li>
  </ul>
</template>

<script lang="ts">
import { Component } from 'nuxt-property-decorator'
import { BaseVue } from '@/plugins/base-vue'
export default class Footer extends BaseVue { }
</script>

<style lang="scss" scoped>
.footer-wrap {
  padding: 45px 0;
  text-align: left;
  font-size: 14px;
  line-height: 14px;
  align-items: flex-start;
  position: relative;
  border-top: 1px solid #fff;
}

.part {
  width: 62.5%;
  margin: 0 auto;
}

.footer-wrap .logo {
  width: 132px;
  height: 36px;
  background-image: url('/assets/images/icons/JO.svg');
  background-size: 132px 36px;
}

.introduce {
  margin-top: 20px;
  margin-bottom: 70px;
}

.description {
  font-weight: 300;
  font-size: 14px;
  color: #ececec;
  line-height: 114%;
  letter-spacing: 0.02em;
}

.list .item:first-child {
  margin-bottom: 20px;
}

.list .item {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 100%;
}

.sub_title {
  font-weight: 700;
  color: #fff;
}

.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

a {
  color: #ececec;
  text-decoration: none;
}

.list.right {
  width: 360px;
}

.subscribe {
  margin-top: 22px;
}

.email {
  width: 242px;
  margin-right: 10px;
  border-radius: 15px;
  border: 1px solid #ebebeb;
  padding: 15px 35px;
  font-size: 14px;
  line-height: 14px;
  background: transparent;
}

input {
  color: #fff;
  outline: none;
}

.subscribe .btn {
  padding: 0 35px;
  height: 45px;
}

.btn.colorful {
  border: 1px solid #03e9f4;
  background: #03e9f4;
  color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 5px #03e9f4, 0 0 25px #03e9f4, 0 0 50px #03e9f4,
    0 0 100px #03e9f4;
}

.btn {
  cursor: pointer;
  justify-content: left;
  border: 1px solid #fff;
  font-weight: 700;
  font-size: 12px;
  line-height: 12px;
  border-radius: 15px;
  height: 59px;
  padding: 0 30px;
  transition: transform 0.2s linear;
}
</style>